// =============================================================================
// SCSS/SITE/STACKS/INTEGRITY/_SCAFFOLDING.SCSS
// -----------------------------------------------------------------------------
// Set base styles for <body> and links.
// =============================================================================

// =============================================================================
// TABLE OF CONTENTS
// -----------------------------------------------------------------------------
//   01. Body Reset
//   02. Links
// =============================================================================

// Site Wrap
// =============================================================================

.site {
  @include clearfix();
}

.x-boxed-layout-active .site {
  margin: 0 auto;
  border: 1px solid #d5d5d5;
  border: 1px solid $siteBorderColor;
  border-top: 0;
  border-bottom: 0;
  background-color: $siteBackground;
  @include box-shadow(#{$siteBoxShadow});
  @include box-sizing(#{content-box});
}



// Body Reset
// =============================================================================

body {
  margin: 0;
  overflow-x: hidden;
  font-family: $baseFontFamily;
  @include font-size(1.4);
  font-weight: $baseFontWeight;
  line-height: $baseLineHeight;
  color: $textColor;
  background: $bodyBackground;

  &.x-navbar-fixed-left-active {
    padding-left: $navbarFixedSideWidth;
  }

  &.x-navbar-fixed-right-active {
    padding-right: $navbarFixedSideWidth;
  }
}

::-moz-selection {
  text-shadow: none;
  color: $textColor;
  background-color: $grayLighter;
}

::selection {
  text-shadow: none;
  color: $textColor;
  background-color: $grayLighter;
}



// Links
// =============================================================================

a {
  color: $linkColor;
  text-decoration: none;
  @include transition($linkTransitions);
}

a:hover {
  color: $linkColorHover;
}